<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>        
        <title></title>
        <meta http-equiv="content-type" content="text/htm;charset=utf-8"/>
        {css file="__PUBLIC__/css/acommon.css" /}
        {jquery/}
        {jquery/}
        {jsconst/}
        {js file="__PUBLIC__/js/arcedit.js"/}
        <script>
            $(function(){
                $('tr').mouseover(function(){
                    $(this).css('background-color','#f6f6f6');
                }).mouseout(function(){
                    $(this).css('background-color','#fff');
                });
            });
        </script>
</head>
<body>
<div id="hd_jqueryui_div"></div>
<ul class="top_title">
    <li>
        <p class="menu_title">文章管理</p>
    </li>
    <li>|</li>
    <li>
        <a class="menu_title_a" >
            &nbsp;文章列表
        </a>
    </li>
</ul>
    <table class="table">
        <thead>
            <tr class="top_channel">
                <th align="center" width="30">&nbsp;</th>
                <th align="center" width="60">文章ID</th>
                <!-- <th align="center" width="100">排序</th> -->
                <th align="center" width="200">文章标题</th>
                <th align="center" width="100">所属栏目</th>
                <!-- <th align="center" width="100">是否显视</th> -->
                <!-- <th align="center" width="100">是否飘红</th> -->
                <th align="center" width="100">点击次数</th>
                <th align="center" width="100">审核状态</th>
                <th align="center">操作</th>
            </tr>
        </thead>
        <tbody>
        {if value="$data"}
        {foreach from="$data" value="$v"}
            <tr class="top_channel">
                <td align="center" width="30">
                    <input type="checkbox" class="arcbox" aid="{$v.aid}"/>
                </td>
                <td align="center">
                    <input type="text" disabled="disabled" value="{$v.aid}" class="input-mini"/>
                </td>
                <!-- <td align="center">
                    <input type="text" class="input-mini" value="{$v.sort}" name="sort[{$v.id}]"/>
                </td> -->
                <td align="center">
                    <strong style="font-weight: lighter;cursor: pointer;color: #3A66B0;">
                        &nbsp;{$v.title}
                    </strong>
                </td>
                <td align="center">
                    <strong style="font-weight: lighter;cursor: pointer;color: #3A66B0;">
                        &nbsp;{$v.catname}
                    </strong>
                </td>
                <td align="center">
                    <strong style="font-weight: lighter;cursor: pointer;color: #3A66B0;">
                        &nbsp;{$v.click}
                    </strong>
                </td>
                <td align="center">
                    <strong style="font-weight: lighter;cursor: pointer;">
                        {if value="$v.shenhe==0"}
                        <font style="color:red;">未审核</font>
                        {else}
                        <font style="color:green;">已审核</font>
                        {/if}
                        <!-- &nbsp;{$v.shenhe} -->
                    </strong>
                </td>
                <td align="center">
                    {if value="$v.shenhe==0"}
                    <a href="" aid="{$v.aid}" class="btn edit shenhe">
                        <i class="icon icon-edit"></i>&nbsp;审核
                    </a>
                    {else}
                    <a href="" aid="{$v.aid}" class="btn edit quxiao">
                        <i class="icon icon-edit"></i>&nbsp;取消审核
                    </a>
                    {/if}
                    <a href="__ROOT__/index.php?c=index&m=arc&aid={$v.aid}" target="_blank" class="btn edit">
                        <i class="icon icon-edit"></i>&nbsp;预览
                    </a>&nbsp;
                    <a href="{|U('editshow',array('aid'=>$v['aid']))}" class="btn edit">
                        <i class="icon icon-edit"></i>&nbsp;编辑
                    </a>&nbsp;
                    <a href="" aid="{$v.aid}" class="isok btn del  delcategory">
                        <i class="icon icon-trash"></i>&nbsp;删除
                    </a>
                </td>
            </tr>
        {/foreach}
        {else}
            <tr><td colspan="6" style="text-align: center;">对不起，暂无任何数据</td></tr>
        {/if}
            <tr class="top_channel">
                <td colspan="6" class="d">
                    <span class="btn all quanxuan">
<i class="icon icon-list-alt"></i>
 全选
</span>
<span class="btn turn fanxuan">
<i class="icon icon-list-alt"></i>
 反选
</span>
<span class="btn all quanbuxuan">
<i class="icon icon-list-alt"></i>
 全不选
</span>
<span class="btn turn delarc">
<i class="icon icon-list-alt"></i>
 删除
</span>
                    <!-- <a href="" class="quanxuan">全选</a>
                    <a href="" class="fanxuan">反选</a>
                    <a href="" class="quanbuxuan">全不选</a>
                    <a href="" class="delarc">删除</a> -->
                </td>
            </tr>
            <tr>
            <td colspan="9" align="center">{$page}</td>
        </tr>
        </tbody>
    </table>
</body>
</html>